//
//  ActivityTableViewCell.m
//  XuanR_PreschoolEduIOS_Teacher
//
//  Created by mac on 15/4/7.
//  Copyright (c) 2015年 xuanrui. All rights reserved.
//

#import "ActivityTableViewCell.h"

@implementation ActivityTableViewCell

//@synthesize designerPicView,bookingLabel,boutiqueLabel,signedLabel,worksLabel,titleLabel;
//
//- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
//{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        self.backgroundColor = [UIColor whiteColor];
//        
//        UIImageView *picView = [[UIImageView alloc] initWithFrame:CGRectMake(6, 15, 80, 72)];
//        picView.backgroundColor = [UIColor clearColor];
//        picView.image = [UIImage imageNamed:@"家装公司小图"];
//        self.designerPicView = picView;
//        [self.contentView addSubview:picView];
//        [picView release];
//        
//        UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(96, 10, 210, 24)];
//        title.text = @"江苏达芬奇设计有限公司";
//        title.backgroundColor = [UIColor clearColor];
//        title.font = font(15);
//        self.titleLabel = title;
//        [self.contentView addSubview:title];
//        [title release];
//        
//        UILabel *zuopingValue = [[UILabel alloc] initWithFrame:CGRectMake(96, 33, 210, 36)];
//        zuopingValue.text = @"5236";
//        zuopingValue.backgroundColor = [UIColor clearColor];
//        zuopingValue.font = font(12);
//        zuopingValue.numberOfLines = 2;
//        self.worksLabel = zuopingValue;
//        zuopingValue.textColor = [UIColor grayColor];
//        [self.contentView addSubview:zuopingValue];
//        [zuopingValue release];
//        
//        UILabel *jingping = [[UILabel alloc] initWithFrame:CGRectMake(96, 69, 60, 18)];
//        jingping.text = @"商品数量:";
//        jingping.backgroundColor = [UIColor clearColor];
//        jingping.font = font(12);
//        jingping.textColor = [UIColor grayColor];
//        [self.contentView addSubview:jingping];
//        [jingping release];
//        UILabel *jingpingValue = [[UILabel alloc] initWithFrame:CGRectMake(156, 69, 50, 18)];
//        jingpingValue.text = @"88";
//        jingpingValue.backgroundColor = [UIColor clearColor];
//        jingpingValue.font = font(12);
//        self.boutiqueLabel = jingpingValue;
//        jingpingValue.textColor = [UIColor grayColor];
//        [self.contentView addSubview:jingpingValue];
//        [jingpingValue release];
//        
//        UILabel *yuyuecishu = [[UILabel alloc] initWithFrame:CGRectMake(216, 69, 40, 18)];
//        yuyuecishu.text = @"评论:";
//        yuyuecishu.backgroundColor = [UIColor clearColor];
//        yuyuecishu.font = font(12);
//        yuyuecishu.textColor = [UIColor grayColor];
//        [self.contentView addSubview:yuyuecishu];
//        [yuyuecishu release];
//        UILabel *yuyuecishuValue = [[UILabel alloc] initWithFrame:CGRectMake(256, 69, 60, 18)];
//        yuyuecishuValue.text = @"87";
//        yuyuecishuValue.backgroundColor = [UIColor clearColor];
//        yuyuecishuValue.font = font(12);
//        self.bookingLabel = yuyuecishuValue;
//        yuyuecishuValue.textColor = [UIColor grayColor];
//        [self.contentView addSubview:yuyuecishuValue];
//        [yuyuecishuValue release];
//        
//        UIImageView *line = [[UIImageView alloc] initWithFrame:CGRectMake(8, 99, applicationwidth-16, 0.5)];
//        line.image = [UIImage imageNamed:@"线"];
//        [self.contentView addSubview:line];
//        [line release];
//    }
//    return self;
//}
//
//-(void)setCellData:(NSArray*)item withSelected:(NSMutableArray*)selectList withIndex:(NSInteger)index
//{
//    [self.designerPicView setImageWithURL:[NSURL URLWithString:[item objectAtIndex:0]] placeholderImage:[UIImage imageNamed:@"家装公司小图"]];
//    self.titleLabel.text = [NSString stringWithFormat:@"%@",[item objectAtIndex:2]];
//    self.worksLabel.text = [NSString stringWithFormat:@"%@",[item objectAtIndex:3]];
//    self.boutiqueLabel.text = [NSString stringWithFormat:@"%@",[item objectAtIndex:4]];
//    self.bookingLabel.text = [NSString stringWithFormat:@"%@",[item objectAtIndex:5]];
//    //    self.signedLabel.text = [NSString stringWithFormat:@"%@",[item objectAtIndex:5]];
//    if ([selectList count]>index) {
//        if ([[selectList objectAtIndex:index] isEqualToString:@"yes"]) {
//            self.titleLabel.textColor = [UIColor grayColor];
//        }else{
//            self.titleLabel.textColor = [UIColor blackColor];
//        }
//    }
//}
//-(void)guanzhuClicked:(UIButton*)btn
//{
//    //加关注
//}
//
//- (void)setSelected:(BOOL)selected animated:(BOOL)animated
//{
//    [super setSelected:selected animated:animated];
//    
//    // Configure the view for the selected state
//}

@end
